/*
 * Utils.h
 *
 *  Created on: 2013. 9. 9.
 *      Author: mega@gamevil.com
 */

#define MARKET_IOS		4
#define MARKET_GOOGLE	5

#define SC_KAKAO_GOOGLE		37
#define SC_KAKAO_IOS		38

namespace ProjectZ { namespace NUtil {

enum class MarketType
{
	__NONE__,

	IOS_KAKAO,
	AD_KAKAO,

	__MAX__
};

MarketType GetMarketType(int company, int saleCode);

int GetRandBetween(int minVal, int maxVal);

int AddPercentage(int value, int per);

int GetEggGrade(int itemQuality);

} /*NUtil*/ } /*ProjectZ*/
